import request from '@/utils/request'

export function getMemberCount(data) {
    return request({
        url: '/statistics/member/count',
        method: 'post',
        data: data
    })
}

export function getMemberWeek(data) {
    return request({
        url: '/statistics/member/week',
        method: 'post',
        data: data
    })
}

export function getWarrantycardWeek(data) {
    return request({
        url: '/statistics/warrantycard/week',
        method: 'post',
        data: data
    })
}

export function getServicerequestWeek(data) {
    return request({
        url: '/statistics/servicerequest/week',
        method: 'post',
        data: data
    })
}

export function getWarrantycardStatus(data) {
    return request({
        url: '/statistics/warrantycard/status',
        method: 'post',
        data: data
    })
}

export function getServicerequestStatus(data) {
    return request({
        url: '/statistics/servicerequest/status',
        method: 'post',
        data: data
    })
}

export function getWarrantycardProvinceCount(data) {
    return request({
        url: '/statistics/warrantycard/province/count',
        method: 'post',
        data: data
    })
}